﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A9D RID: 2717
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LoginActivityData : IMessage<LoginActivityData>, IMessage, IEquatable<LoginActivityData>, IDeepCloneable<LoginActivityData>, IBufferMessage
	{
		// Token: 0x17002240 RID: 8768
		// (get) Token: 0x06007978 RID: 31096 RVA: 0x001440FD File Offset: 0x001422FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LoginActivityData> Parser
		{
			get
			{
				return LoginActivityData._parser;
			}
		}

		// Token: 0x17002241 RID: 8769
		// (get) Token: 0x06007979 RID: 31097 RVA: 0x00144104 File Offset: 0x00142304
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LoginActivityDataReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002242 RID: 8770
		// (get) Token: 0x0600797A RID: 31098 RVA: 0x00144116 File Offset: 0x00142316
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LoginActivityData.Descriptor;
			}
		}

		// Token: 0x0600797B RID: 31099 RVA: 0x0014411D File Offset: 0x0014231D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LoginActivityData()
		{
		}

		// Token: 0x0600797C RID: 31100 RVA: 0x00144130 File Offset: 0x00142330
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LoginActivityData(LoginActivityData other) : this()
		{
			this.loginDays_ = other.loginDays_;
			this.id_ = other.id_;
			this.iIDLIPCPMOK_ = other.iIDLIPCPMOK_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600797D RID: 31101 RVA: 0x0014417D File Offset: 0x0014237D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LoginActivityData Clone()
		{
			return new LoginActivityData(this);
		}

		// Token: 0x17002243 RID: 8771
		// (get) Token: 0x0600797E RID: 31102 RVA: 0x00144185 File Offset: 0x00142385
		// (set) Token: 0x0600797F RID: 31103 RVA: 0x0014418D File Offset: 0x0014238D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint LoginDays
		{
			get
			{
				return this.loginDays_;
			}
			set
			{
				this.loginDays_ = value;
			}
		}

		// Token: 0x17002244 RID: 8772
		// (get) Token: 0x06007980 RID: 31104 RVA: 0x00144196 File Offset: 0x00142396
		// (set) Token: 0x06007981 RID: 31105 RVA: 0x0014419E File Offset: 0x0014239E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Id
		{
			get
			{
				return this.id_;
			}
			set
			{
				this.id_ = value;
			}
		}

		// Token: 0x17002245 RID: 8773
		// (get) Token: 0x06007982 RID: 31106 RVA: 0x001441A7 File Offset: 0x001423A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<uint> IIDLIPCPMOK
		{
			get
			{
				return this.iIDLIPCPMOK_;
			}
		}

		// Token: 0x06007983 RID: 31107 RVA: 0x001441AF File Offset: 0x001423AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LoginActivityData);
		}

		// Token: 0x06007984 RID: 31108 RVA: 0x001441C0 File Offset: 0x001423C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LoginActivityData other)
		{
			return other != null && (other == this || (this.LoginDays == other.LoginDays && this.Id == other.Id && this.iIDLIPCPMOK_.Equals(other.iIDLIPCPMOK_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007985 RID: 31109 RVA: 0x00144220 File Offset: 0x00142420
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.LoginDays != 0U)
			{
				num ^= this.LoginDays.GetHashCode();
			}
			if (this.Id != 0U)
			{
				num ^= this.Id.GetHashCode();
			}
			num ^= this.iIDLIPCPMOK_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007986 RID: 31110 RVA: 0x00144286 File Offset: 0x00142486
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007987 RID: 31111 RVA: 0x0014428E File Offset: 0x0014248E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007988 RID: 31112 RVA: 0x00144298 File Offset: 0x00142498
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.iIDLIPCPMOK_.WriteTo(ref output, LoginActivityData._repeated_iIDLIPCPMOK_codec);
			if (this.LoginDays != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.LoginDays);
			}
			if (this.Id != 0U)
			{
				output.WriteRawTag(104);
				output.WriteUInt32(this.Id);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007989 RID: 31113 RVA: 0x00144304 File Offset: 0x00142504
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.LoginDays != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.LoginDays);
			}
			if (this.Id != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Id);
			}
			num += this.iIDLIPCPMOK_.CalculateSize(LoginActivityData._repeated_iIDLIPCPMOK_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600798A RID: 31114 RVA: 0x00144370 File Offset: 0x00142570
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LoginActivityData other)
		{
			if (other == null)
			{
				return;
			}
			if (other.LoginDays != 0U)
			{
				this.LoginDays = other.LoginDays;
			}
			if (other.Id != 0U)
			{
				this.Id = other.Id;
			}
			this.iIDLIPCPMOK_.Add(other.iIDLIPCPMOK_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600798B RID: 31115 RVA: 0x001443D1 File Offset: 0x001425D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600798C RID: 31116 RVA: 0x001443DC File Offset: 0x001425DC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 34U)
				{
					if (num == 32U || num == 34U)
					{
						this.iIDLIPCPMOK_.AddEntriesFrom(ref input, LoginActivityData._repeated_iIDLIPCPMOK_codec);
						continue;
					}
				}
				else
				{
					if (num == 48U)
					{
						this.LoginDays = input.ReadUInt32();
						continue;
					}
					if (num == 104U)
					{
						this.Id = input.ReadUInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04002E74 RID: 11892
		private static readonly MessageParser<LoginActivityData> _parser = new MessageParser<LoginActivityData>(() => new LoginActivityData());

		// Token: 0x04002E75 RID: 11893
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E76 RID: 11894
		public const int LoginDaysFieldNumber = 6;

		// Token: 0x04002E77 RID: 11895
		private uint loginDays_;

		// Token: 0x04002E78 RID: 11896
		public const int IdFieldNumber = 13;

		// Token: 0x04002E79 RID: 11897
		private uint id_;

		// Token: 0x04002E7A RID: 11898
		public const int IIDLIPCPMOKFieldNumber = 4;

		// Token: 0x04002E7B RID: 11899
		private static readonly FieldCodec<uint> _repeated_iIDLIPCPMOK_codec = FieldCodec.ForUInt32(34U);

		// Token: 0x04002E7C RID: 11900
		private readonly RepeatedField<uint> iIDLIPCPMOK_ = new RepeatedField<uint>();
	}
}
